//
//  MessageCase.h
//  wopu
//
//  Created by meeidol on 2016/11/22.
//  Copyright © 2016年 zhangxiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <MBProgressHUD/MBProgressHUD.h>

//typedef void (^ZXMessageCaseBlock)(void);

@interface ZXMessageCase : NSObject

//@property (copy) ZXMessageCaseBlock completionBlock;
@property (nonatomic,assign) int chatNum;
@property (nonatomic,assign) int notiNum;
@property (nonatomic,assign) int notiNum1;
@property (nonatomic,strong) NSString  *user;
@property (nonatomic,strong) NSMutableDictionary  *remindDic;
@property (nonatomic,strong) NSMutableArray  *groupArray;
@property (nonatomic,strong) UIProgressView *progressView;
@property (nonatomic,strong) UIImageView *callImageView;
@property (nonatomic,strong) UILabel *callLabel;
@property (nonatomic,strong) UIViewController *callVC;
@property (nonatomic,strong) MBProgressHUD *hud;
+(ZXMessageCase *)shareInstace;
/**  文字提示框 */

-(void)showMessage:(NSString *)message;//默认1.3秒
-(void)showMessage:(NSString *)message time:(CGFloat)time; //可以设置时间
-(void)showMessage:(NSString *)message time:(CGFloat)time completion:(void (^)(void))completion; //可以设置时间,并在显示完毕后可以进行操作
-(void)addMember:(id)object;
-(void)showProgress:(NSString *)message progress:(float) progress;
-(void)removeProgress;
-(void)showCallView:(int)time;
-(void)disMissCallView;
-(void)showHud:(NSString *)message;
-(void)hideHud;
- (void)showMessage:(NSString *)message withColor:(UIColor *)color;
@end
